#pragma once
#include "CSocketProtocol.h"
class CSocketFactoryImpl2 : public CSocketProtocol {
private:
        unsigned char *p;
        int len;

public:
        //客户端初始化 获取handle上下文
        virtual int cltSocketInit();

        //客户端发送报文
        virtual int cltSocketSend(unsigned char *buf,int buflen);

        //客户端收报文
        virtual int cltSocketRev(unsigned char *buf, int *buflen);
        
        //客户端释放资源
        virtual int cltSocketDestory();
};
